package com.sali.asyncollection.service;


import com.sali.asyncollection.model.BaseRspDTO;

/**
 * @description:
 * @author: zhang hang
 * @date: 2023/3/15 20:54.
 * @version: 1.0
 */
public interface IBaseTask {

    // 返回每个策略的key
    String getTaskType();

    BaseRspDTO<Object> execute(String req);

}
